<template>
  <div id="app">
    <br><br><br><br>
    <div class="loginbox">
      <img src="static/images/logo.png" width="80" height="80"><br>
      <div class="itemlist">
        <div class="icon"><img src="static/images/admin.png" width="16"></div>
        <input type="text" placeholder="账号">
      </div>
      <div class="itemlist">
        <div class="icon"><img src="static/images/psw.png" width="16"></div>
        <input type="text" placeholder="密码">
      </div>
      <br>
      <router-link to="/index"><div class="loginbtn">登录</div></router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Login',
  data () {
    return {
      
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  .loginbox{
    margin:auto;
    text-align: center;
  }
  .loginbox img{
    margin:auto;
    border-radius:100%;
    border:1px solid #fff;
  }
  .itemlist{
    width: 70%;
    height: 45px;
    line-height: 45px;
    background: #fff;
    border-radius:2rem;
    border:1px solid #ddd;
    font-size:0.8rem;
    margin:0.75rem auto;
    display: flex;
    align-items: center;
    padding:0 0.75rem;
  }
  .itemlist .icon{
    margin-right:0.5rem;
  }
  .itemlist input{
    height: 45px;
    border:none;
    font-size: 0.9rem;
    width: 80%;
    outline: none;
    -webkit-outline: none;
  }
  .loginbtn{
    width: 70%;
    height: 45px;
    line-height: 45px;
    background: #3cb034;
    border-radius:2rem;
    font-size:0.9rem;
    color:#fff;
    margin:0.75rem auto;
    padding:0 0.75rem;
  }
</style>
